package arrayList_basics.src.Polymorphic;

public class Student extends Person {
    String gender = "男";
    public Student() {}

    public Student(String name, int age) {
        super(name, age);
    }
    @Override
    public void getIngo(){
        System.out.println("学生信息"+getName()+getAge());
    }
}
